package model;

import java.util.List;


public class Room{
	
	private Long			id;
	private List<Device>	devices;
	private List<Person>	visitors;
	private String			name;
	
	
	public List<Device> getDevices() {
		return devices;
	}
	
	public List<Person> getVisitors(){
		//visitor pattern?
		return visitors;
	}
	
	public void addPersontoRoom(Person visitor){
		visitors.add( visitor );
	}
	
	
	public void setDevices( List<Device> devices ) {
		this.devices = devices;
	}
	
	
	public String getName() {
		return name;
	}
	
	
	public void setName( String name ) {
		this.name = name;
	}
	
	
	public Long getId() {
		return id;
	}
	
	
	public void setId( Long id ) {
		this.id = id;
	}
	
	
	public void addDevice( Device device ) {
		devices.add( device );
	}
	
}
